FROM apache/superset:1.3.0 

RUN superset fab create-admin \
               --username admin \
               --firstname Superset \
               --lastname Admin \
               --email admin@superset.com \
               --password admin

RUN superset db upgrade
# RUN superset load_examples
RUN superset init
RUN pip install psycopg2
